<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: src/details/sslSvrItfc.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_b485ae80868baed16097635ed27c0024.html">details</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">sslSvrItfc.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;openssl/x509.h&gt;</code><br />
<code>#include &lt;openssl/x509_vfy.h&gt;</code><br />
<code>#include &quot;<a class="el" href="../../df/d6c/ssl_svr_itfc_8hpp_source.html">details/sslSvrItfc.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d5/de3/ssl_svr_epoll_egn_8hpp_source.html">details/sslSvrEpollEgn.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d8/d9b/ssl_connection_8hpp_source.html">details/sslConnection.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
sslSvrItfc.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/d61/ssl_svr_itfc_8cpp__incl.png" border="0" usemap="#asrc_2details_2ssl_svr_itfc_8cpp" alt=""/></div>
<map name="asrc_2details_2ssl_svr_itfc_8cpp" id="asrc_2details_2ssl_svr_itfc_8cpp">
<area shape="rect" title=" " alt="" coords="1352,5,1518,32"/>
<area shape="rect" title=" " alt="" coords="1131,80,1240,107"/>
<area shape="poly" title=" " alt="" coords="1392,35,1244,78,1243,73,1391,30"/>
<area shape="rect" title=" " alt="" coords="1264,80,1397,107"/>
<area shape="poly" title=" " alt="" coords="1418,35,1363,73,1360,69,1415,30"/>
<area shape="rect" href="../../df/d6c/ssl_svr_itfc_8hpp.html" title=" " alt="" coords="1413,155,1558,181"/>
<area shape="poly" title=" " alt="" coords="1442,32,1479,139,1474,141,1436,33"/>
<area shape="rect" href="../../d5/de3/ssl_svr_epoll_egn_8hpp.html" title=" " alt="" coords="705,155,882,181"/>
<area shape="poly" title=" " alt="" coords="1438,33,1433,70,1425,91,1411,109,1384,120,1337,131,1201,147,1042,158,897,165,897,160,1041,153,1201,141,1336,125,1382,115,1408,105,1420,89,1428,69,1432,32"/>
<area shape="rect" href="../../d8/d9b/ssl_connection_8hpp.html" title=" " alt="" coords="1537,80,1708,107"/>
<area shape="poly" title=" " alt="" coords="1468,30,1576,71,1575,76,1466,35"/>
<area shape="rect" title=" " alt="" coords="1597,635,1651,661"/>
<area shape="poly" title=" " alt="" coords="1495,181,1520,228,1552,319,1570,392,1607,559,1621,619,1615,620,1601,561,1565,393,1547,321,1515,230,1491,183"/>
<area shape="rect" title=" " alt="" coords="1574,229,1672,256"/>
<area shape="poly" title=" " alt="" coords="1511,180,1586,219,1584,224,1508,184"/>
<area shape="rect" title=" " alt="" coords="1696,229,1792,256"/>
<area shape="poly" title=" " alt="" coords="1531,179,1685,222,1683,227,1530,184"/>
<area shape="rect" href="../../d0/d5c/malloc_shared_ptr_8hpp.html" title=" " alt="" coords="1100,560,1242,587"/>
<area shape="poly" title=" " alt="" coords="1413,176,1270,190,1188,202,1106,217,1032,237,971,261,948,275,931,290,920,307,916,324,916,417,917,469,924,489,940,510,963,524,999,537,1085,556,1084,562,997,542,961,529,937,514,919,492,912,470,911,417,911,324,915,305,926,287,945,271,969,257,1030,232,1105,212,1187,197,1270,185,1413,171"/>
<area shape="rect" href="../../d1/d65/rb_tree_8hpp.html" title=" " alt="" coords="107,403,248,429"/>
<area shape="poly" title=" " alt="" coords="1413,174,1156,191,996,207,835,232,658,271,486,318,228,400,227,395,485,313,657,266,834,227,995,202,1156,185,1412,169"/>
<area shape="rect" href="../../dd/dce/thread_pool_8hpp.html" title=" " alt="" coords="595,403,704,429"/>
<area shape="poly" title=" " alt="" coords="1413,174,1288,181,1138,192,996,208,939,219,896,232,827,267,764,311,711,356,673,394,669,390,708,352,761,307,824,262,894,227,937,214,995,203,1137,186,1287,175,1413,169"/>
<area shape="rect" href="../../df/d9a/design_m_2command_8hpp.html" title=" " alt="" coords="1291,229,1448,256"/>
<area shape="poly" title=" " alt="" coords="1467,184,1404,223,1401,218,1464,180"/>
<area shape="rect" href="../../d9/d7a/variant_8hpp.html" title=" " alt="" coords="1405,560,1547,587"/>
<area shape="poly" title=" " alt="" coords="1491,181,1506,247,1524,343,1535,441,1535,482,1529,513,1518,533,1504,551,1500,547,1514,530,1524,511,1530,482,1530,442,1518,344,1500,248,1486,182"/>
<area shape="rect" title=" " alt="" coords="1116,635,1180,661"/>
<area shape="poly" title=" " alt="" coords="1169,588,1159,621,1154,619,1164,586"/>
<area shape="rect" title=" " alt="" coords="1310,635,1389,661"/>
<area shape="poly" title=" " alt="" coords="1203,585,1305,626,1303,631,1201,590"/>
<area shape="rect" title=" " alt="" coords="889,635,957,661"/>
<area shape="poly" title=" " alt="" coords="1128,590,973,635,971,630,1127,585"/>
<area shape="rect" title=" " alt="" coords="1204,635,1287,661"/>
<area shape="poly" title=" " alt="" coords="1186,585,1224,622,1220,626,1182,589"/>
<area shape="poly" title=" " alt="" coords="183,428,198,469,212,491,230,510,281,537,353,561,441,581,536,599,727,625,873,640,873,645,727,631,536,604,439,587,352,566,278,542,226,514,207,495,193,472,178,430"/>
<area shape="rect" title=" " alt="" coords="323,485,384,512"/>
<area shape="poly" title=" " alt="" coords="206,427,313,476,311,481,204,432"/>
<area shape="rect" title=" " alt="" coords="109,485,147,512"/>
<area shape="poly" title=" " alt="" coords="172,431,146,474,141,471,167,428"/>
<area shape="rect" title=" " alt="" coords="24,485,85,512"/>
<area shape="poly" title=" " alt="" coords="160,432,88,479,85,475,157,428"/>
<area shape="rect" title=" " alt="" coords="592,560,664,587"/>
<area shape="poly" title=" " alt="" coords="187,428,219,470,242,492,268,510,326,529,409,545,577,565,576,570,409,550,325,534,265,514,238,496,215,473,183,432"/>
<area shape="rect" title=" " alt="" coords="459,635,517,661"/>
<area shape="poly" title=" " alt="" coords="107,432,65,445,30,462,17,472,10,484,9,496,14,511,25,524,41,536,85,559,141,580,205,597,337,623,444,639,443,644,336,629,204,602,139,585,83,564,38,541,21,527,10,513,3,497,5,482,13,469,27,458,63,440,106,427"/>
<area shape="poly" title=" " alt="" coords="604,432,399,488,398,483,602,427"/>
<area shape="poly" title=" " alt="" coords="596,431,509,455,472,470,450,487,442,503,439,519,442,556,456,591,473,620,468,623,451,593,437,557,433,519,437,501,446,484,469,466,507,450,594,426"/>
<area shape="rect" title=" " alt="" coords="459,485,517,512"/>
<area shape="poly" title=" " alt="" coords="625,432,528,481,525,476,623,427"/>
<area shape="rect" title=" " alt="" coords="951,485,1007,512"/>
<area shape="poly" title=" " alt="" coords="702,427,936,484,935,489,701,433"/>
<area shape="rect" title=" " alt="" coords="541,485,598,512"/>
<area shape="poly" title=" " alt="" coords="639,432,594,476,590,473,635,428"/>
<area shape="rect" title=" " alt="" coords="751,485,876,512"/>
<area shape="poly" title=" " alt="" coords="676,427,775,476,773,481,674,432"/>
<area shape="rect" title=" " alt="" coords="864,560,941,587"/>
<area shape="poly" title=" " alt="" coords="660,428,693,468,715,490,740,510,787,531,850,553,848,558,785,536,737,514,712,494,689,471,656,431"/>
<area shape="rect" title=" " alt="" coords="622,485,677,512"/>
<area shape="poly" title=" " alt="" coords="652,430,652,470,647,470,647,430"/>
<area shape="poly" title=" " alt="" coords="1383,255,1423,302,1483,391,1537,481,1613,620,1608,622,1533,484,1479,394,1419,306,1379,258"/>
<area shape="rect" title=" " alt="" coords="1268,312,1332,339"/>
<area shape="poly" title=" " alt="" coords="1361,258,1323,302,1319,299,1357,255"/>
<area shape="rect" href="../../d0/dfd/mainloop_8hpp.html" title=" " alt="" coords="1093,304,1233,347"/>
<area shape="poly" title=" " alt="" coords="1338,259,1231,300,1229,295,1336,254"/>
<area shape="rect" href="../../da/d26/dispatcher_8hpp.html" title=" " alt="" coords="1093,395,1233,437"/>
<area shape="poly" title=" " alt="" coords="1372,257,1368,300,1360,326,1346,348,1325,368,1301,383,1249,403,1247,398,1298,378,1322,363,1342,345,1355,324,1363,299,1367,256"/>
<area shape="rect" href="../../d2/d81/design_m_2event_detail_2event_8hpp.html" title=" " alt="" coords="1437,485,1515,512"/>
<area shape="poly" title=" " alt="" coords="1377,256,1467,470,1462,472,1372,258"/>
<area shape="poly" title=" " alt="" coords="1092,331,991,336,863,347,723,367,583,397,529,415,476,437,389,480,387,475,474,432,527,410,582,392,722,361,863,342,991,330,1092,325"/>
<area shape="poly" title=" " alt="" coords="1165,347,1165,379,1160,379,1160,347"/>
<area shape="poly" title=" " alt="" coords="1134,440,1020,514,955,532,897,539,846,537,797,533,748,529,698,530,643,540,581,562,559,575,540,591,508,624,504,621,536,587,556,571,579,558,642,534,697,525,748,524,797,527,846,532,897,533,954,527,1018,510,1131,436"/>
<area shape="poly" title=" " alt="" coords="1116,440,1022,481,1020,477,1114,435"/>
<area shape="poly" title=" " alt="" coords="1093,436,884,484,883,479,1091,431"/>
<area shape="rect" title=" " alt="" coords="1133,485,1193,512"/>
<area shape="poly" title=" " alt="" coords="1165,438,1165,469,1160,469,1160,438"/>
<area shape="rect" href="../../de/d6d/singleton_8hpp.html" title=" " alt="" coords="688,560,840,587"/>
<area shape="poly" title=" " alt="" coords="1149,440,1113,478,1090,498,1064,514,1026,528,974,541,856,562,855,557,973,536,1025,523,1062,510,1087,494,1109,474,1145,436"/>
<area shape="rect" href="../../d2/d62/strategy_8hpp.html" title=" " alt="" coords="1217,485,1362,512"/>
<area shape="poly" title=" " alt="" coords="1197,436,1258,474,1255,479,1194,440"/>
<area shape="poly" title=" " alt="" coords="1234,430,1304,451,1376,483,1420,514,1456,547,1452,551,1417,518,1373,488,1302,456,1233,435"/>
<area shape="poly" title=" " alt="" coords="1234,433,1423,481,1421,486,1233,438"/>
<area shape="poly" title=" " alt="" coords="793,585,882,625,880,630,791,590"/>
<area shape="poly" title=" " alt="" coords="840,583,1189,632,1189,637,840,588"/>
<area shape="poly" title=" " alt="" coords="1308,510,1325,525,1340,544,1349,566,1345,588,1324,612,1298,630,1295,625,1321,608,1340,586,1344,566,1336,547,1321,529,1305,514"/>
<area shape="poly" title=" " alt="" coords="1216,513,1206,515,1059,528,943,534,827,543,679,563,679,557,827,537,943,529,1059,523,1205,509,1216,508"/>
<area shape="poly" title=" " alt="" coords="1217,514,957,562,956,557,1216,509"/>
<area shape="rect" title=" " alt="" coords="965,560,1075,587"/>
<area shape="poly" title=" " alt="" coords="1243,515,1083,558,1081,553,1242,510"/>
<area shape="rect" title=" " alt="" coords="1267,560,1331,587"/>
<area shape="poly" title=" " alt="" coords="1294,512,1298,544,1293,545,1288,513"/>
<area shape="poly" title=" " alt="" coords="1503,585,1586,625,1583,630,1501,590"/>
<area shape="poly" title=" " alt="" coords="1455,590,1386,629,1383,624,1453,585"/>
<area shape="poly" title=" " alt="" coords="1405,587,973,643,972,638,1404,581"/>
<area shape="poly" title=" " alt="" coords="1437,590,1301,632,1300,627,1435,585"/>
<area shape="poly" title=" " alt="" coords="1405,584,1343,589,869,624,533,647,532,641,869,619,1342,584,1404,579"/>
<area shape="rect" title=" " alt="" coords="1505,635,1573,661"/>
<area shape="poly" title=" " alt="" coords="1489,585,1520,621,1516,625,1485,589"/>
<area shape="rect" title=" " alt="" coords="1413,635,1480,661"/>
<area shape="poly" title=" " alt="" coords="1473,588,1460,621,1455,619,1468,586"/>
<area shape="poly" title=" " alt="" coords="1479,513,1479,544,1473,544,1473,513"/>
<area shape="poly" title=" " alt="" coords="705,181,578,198,441,227,380,247,332,269,299,295,291,309,288,324,288,417,288,470,295,490,312,510,340,526,378,537,476,549,673,557,672,563,476,554,377,542,338,531,309,514,291,493,283,471,283,417,283,324,286,307,295,292,329,265,379,242,440,222,577,193,704,175"/>
<area shape="poly" title=" " alt="" coords="1600,110,1524,149,1522,145,1598,105"/>
<area shape="poly" title=" " alt="" coords="1625,107,1625,214,1620,214,1620,107"/>
<area shape="poly" title=" " alt="" coords="1635,105,1726,216,1722,219,1631,109"/>
<area shape="poly" title=" " alt="" coords="1662,105,1715,128,1769,161,1791,181,1806,204,1812,230,1807,257,1781,309,1756,352,1728,387,1698,416,1664,441,1625,465,1528,515,1426,534,1257,561,1257,556,1425,529,1526,509,1623,460,1661,437,1695,412,1724,383,1751,349,1777,307,1801,255,1807,230,1801,206,1787,185,1766,165,1712,132,1659,110"/>
</map>
</div>
</div>
<p><a href="../../d1/d29/ssl_svr_itfc_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ab6a68148191e9851ae52f83d0e7f697e" id="r_ab6a68148191e9851ae52f83d0e7f697e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ab6a68148191e9851ae52f83d0e7f697e">DEFAULT_THD_COUNT</a>&#160;&#160;&#160;(4)</td></tr>
<tr class="separator:ab6a68148191e9851ae52f83d0e7f697e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a52a90d36d93b97a933b0bde85ef586dd" id="r_a52a90d36d93b97a933b0bde85ef586dd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a52a90d36d93b97a933b0bde85ef586dd">verify_cert</a> (int preverify_ok, X509_STORE_CTX *ctx)</td></tr>
<tr class="separator:a52a90d36d93b97a933b0bde85ef586dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="ab6a68148191e9851ae52f83d0e7f697e" name="ab6a68148191e9851ae52f83d0e7f697e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6a68148191e9851ae52f83d0e7f697e">&#9670;&#160;</a></span>DEFAULT_THD_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DEFAULT_THD_COUNT&#160;&#160;&#160;(4)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d29/ssl_svr_itfc_8cpp_source.html">sslSvrItfc.cpp</a> 第 <a class="el" href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00009">9</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a52a90d36d93b97a933b0bde85ef586dd" name="a52a90d36d93b97a933b0bde85ef586dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52a90d36d93b97a933b0bde85ef586dd">&#9670;&#160;</a></span>verify_cert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int verify_cert </td>
          <td>(</td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>preverify_ok</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">X509_STORE_CTX *</td>          <td class="paramname"><span class="paramname"><em>ctx</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d1/d29/ssl_svr_itfc_8cpp_source.html">sslSvrItfc.cpp</a> 第 <a class="el" href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00012">12</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d1/d29/ssl_svr_itfc_8cpp_a52a90d36d93b97a933b0bde85ef586dd_icgraph.png" border="0" usemap="#ad1/d29/ssl_svr_itfc_8cpp_a52a90d36d93b97a933b0bde85ef586dd_icgraph" alt=""/></div>
<map name="ad1/d29/ssl_svr_itfc_8cpp_a52a90d36d93b97a933b0bde85ef586dd_icgraph" id="ad1/d29/ssl_svr_itfc_8cpp_a52a90d36d93b97a933b0bde85ef586dd_icgraph">
<area shape="rect" title=" " alt="" coords="195,5,277,32"/>
<area shape="rect" href="../../dd/dd6/structssl_svr_itfc.html#ad5dfcc33ce645d022356211622061b33" title=" " alt="" coords="5,5,147,32"/>
<area shape="poly" title=" " alt="" coords="179,21,147,21,147,16,179,16"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
